package com.huli.mapper;

import com.huli.domain.HuliAddress;
import com.huli.domain.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import okhttp3.Interceptor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 张庆阳
* @description 针对表【order_info(订单信息表)】的数据库操作Mapper
* @createDate 2025-03-16 13:03:39
* @Entity com.huli.domain.OrderInfo
*/
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    Integer updateByAStatus(Integer id);

    List<OrderInfo> findAll(Integer userId);

    OrderInfo findById(Integer id);

    List<OrderInfo> findStatus(@Param("orderStatus") Integer orderStatus,@Param("userId") Integer userId);

    String updateMessageStatus(Integer id, String messageStatus);

    List<OrderInfo> updateMessageStatusll(OrderInfo orderInfo, String messageStatus);
}




